package com.sgcc.pda.mdrh.task.safe.entity;

import com.sgcc.pda.sdk.entity.BaseEntity;

import java.io.Serializable;
import java.util.List;

/**
 * 描述：班前会服务器返回结果
 * 作者：jianiuqi 2020-09-17 15:34
 */
public class MeetingVerify extends BaseEntity implements Serializable {

    public static final String MEETING_FINISH = "1";//已召开班前会

    private VerifyDetail DTS;

    public VerifyDetail getDTS() {
        return DTS;
    }

    public void setDTS(VerifyDetail DTS) {
        this.DTS = DTS;
    }

    public boolean isSuccess() {
        return "1".equals(RT_F);
    }

    public static class VerifyDetail implements Serializable {

        //工作票号
        private String wtNo;
        private String currentUserId;
        private List<VerifyData> siteMeetings;
        private String workTypeNo;

        public String getWtNo() {
            return wtNo;
        }

        public void setWtNo(String wtNo) {
            this.wtNo = wtNo;
        }

        public String getCurrentUserId() {
            return currentUserId;
        }

        public void setCurrentUserId(String currentUserId) {
            this.currentUserId = currentUserId;
        }

        public List<VerifyData> getSiteMeetings() {
            return siteMeetings;
        }

        public void setSiteMeetings(List<VerifyData> siteMeetings) {
            this.siteMeetings = siteMeetings;
        }

        public String getWorkTypeNo() {
            return workTypeNo;
        }

        public void setWorkTypeNo(String workTypeNo) {
            this.workTypeNo = workTypeNo;
        }
    }

    public static class VerifyData implements Serializable {

        private String recordId;
        private String wtHeadId;
        private String wtHeadName;
        private String wtPerson;
        private String groupNo;
        private String wtId;

        //是否正在召开班前会
        private String isMeeting;

        public String getRecordId() {
            return recordId;
        }

        public void setRecordId(String recordId) {
            this.recordId = recordId;
        }

        public String getWtHeadId() {
            return wtHeadId;
        }

        public void setWtHeadId(String wtHeadId) {
            this.wtHeadId = wtHeadId;
        }

        public String getWtHeadName() {
            return wtHeadName;
        }

        public void setWtHeadName(String wtHeadName) {
            this.wtHeadName = wtHeadName;
        }

        public String getWtPerson() {
            return wtPerson;
        }

        public void setWtPerson(String wtPerson) {
            this.wtPerson = wtPerson;
        }

        public String getGroupNo() {
            return groupNo;
        }

        public void setGroupNo(String groupNo) {
            this.groupNo = groupNo;
        }

        public String getWtId() {
            return wtId;
        }

        public void setWtId(String wtId) {
            this.wtId = wtId;
        }

        public String getIsMeeting() {
            return isMeeting;
        }

        public void setIsMeeting(String isMeeting) {
            this.isMeeting = isMeeting;
        }

    }

}
